package com.maket.jbxx.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 属性值对象 sx_product_attribute
 * 
 * @author ruoyi
 * @date 2024-07-02
 */
public class SxProductAttribute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 属性编码 */
    private String sxCode;

    /** 属性名称 */
    @Excel(name = "属性名称")
    private String sxName;

    /** 属性类型 */
    @Excel(name = "属性类型")
    private String sxTypeCode;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long isStart;

    /** 是否删除 */
    private Long isDelete;

    /** 属性值 */
    private String sx_value;

    /** 分类值 */
    private String cpfl_name;

    /** 属性值信息 */
    private List<SxAttributeValue> sxAttributeValueList;

    /** 产品分类信息 */
    private List<CpAttributeType> sxAttributeValueListCpType;

    /**产品分类表 */
    private List<CpflProductClassification> cpflProductClassifications;


    public void setSxCode(String sxCode) 
    {
        this.sxCode = sxCode;
    }

    public String getSxCode() 
    {
        return sxCode;
    }
    public void setSxName(String sxName) 
    {
        this.sxName = sxName;
    }

    public String getSxName() 
    {
        return sxName;
    }
    public void setSxTypeCode(String sxTypeCode) 
    {
        this.sxTypeCode = sxTypeCode;
    }

    public String getSxTypeCode() 
    {
        return sxTypeCode;
    }
    public void setIsStart(Long isStart) 
    {
        this.isStart = isStart;
    }

    public Long getIsStart() 
    {
        return isStart;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    public List<SxAttributeValue> getSxAttributeValueList()
    {
        return sxAttributeValueList;
    }

    public void setSxAttributeValueList(List<SxAttributeValue> sxAttributeValueList)
    {
        this.sxAttributeValueList = sxAttributeValueList;
    }

    public List<CpAttributeType> getSxAttributeValueListCpType() {
        return sxAttributeValueListCpType;
    }

    public void setSxAttributeValueListCpType(List<CpAttributeType> sxAttributeValueListCpType) {
        this.sxAttributeValueListCpType = sxAttributeValueListCpType;
    }

    public List<CpflProductClassification> getCpflProductClassifications() {
        return cpflProductClassifications;
    }

    public void setCpflProductClassifications(List<CpflProductClassification> cpflProductClassifications) {
        this.cpflProductClassifications = cpflProductClassifications;
    }

    public String getSx_value() {
        return sx_value;
    }

    public void setSx_value(String sx_value) {
        this.sx_value = sx_value;
    }

    public String getCpfl_name() {
        return cpfl_name;
    }

    public void setCpfl_name(String cpfl_name) {
        this.cpfl_name = cpfl_name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sxCode", getSxCode())
            .append("sxName", getSxName())
            .append("sxTypeCode", getSxTypeCode())
            .append("isStart", getIsStart())
            .append("isDelete", getIsDelete())
            .append("sxAttributeValueList", getSxAttributeValueList())
            .append("sxAttributeValueListCpType",getSxAttributeValueListCpType())
            .append("CpflProductClassification",getCpflProductClassifications())
            .append("sx_value",getSx_value())
            .append("cpfl_name",getCpfl_name())
            .toString();
    }
}
